缘起
反正最好的编辑器之争由来已久,Vim 和 Emacs孰优孰劣争了这么久也没个结果。
我自己一直想去亲身探个究竟,但是几度往返,也只是窥了个皮毛,一直不用,又忘了个精光,今天重新开始学Vim,也对一些命令稍微记录下
先诛Vim,后灭Emacs
哎,只能慢慢来了,估计一时半会能用就不错了,牛还是先不吹了
Vim命令
h- Move Leftj- Move Downk- Move Upl- Move Right
Insertion Mode
i- insert before letterI- insert beginning linea- append after letterA- append after lineo- open a new line after current lineO- open a new line before current line
Change Mode
r- replace a single characterR- replace all following character
Press : command
w- Saveq- Quitq!- Quit without savewq- Save and Quit
感谢鼓励